package com.cxdr.awsips.analysis.bean;

import java.util.Date;

/**
 * 文件备份日志
 * @author pugang
 */
public class FileBakLog {
	private String ID;
	private Date create_time;
	private String file_name;
	private String back_path;
	private String create_day;
	private String create_hour;
	public FileBakLog(){}
	public FileBakLog(String fileName){
		file_name = fileName;
		parseAttr();
	}
	private void parseAttr(){
		create_time = new Date();
		create_day = String.valueOf(create_time.getDate());
		create_hour = String.valueOf(create_time.getHours());
	}
	public String getID() {
		return ID;
	}
	public void setID(String iD) {
		ID = iD;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public String getFile_name() {
		return file_name;
	}
	public void setFile_name(String file_name) {
		this.file_name = file_name;
	}
	public String getBack_path() {
		return back_path;
	}
	public void setBack_path(String back_path) {
		this.back_path = back_path;
	}
	public String getCreate_day() {
		return create_day;
	}
	public void setCreate_day(String create_day) {
		this.create_day = create_day;
	}
	public String getCreate_hour() {
		return create_hour;
	}
	public void setCreate_hour(String create_hour) {
		this.create_hour = create_hour;
	}
}
